
<h3>Dormitory's Information</h3>
<?php $row = $details->row();?>
<form name="detailsform2" method="post" onSubmit="return OnSubmitForm4();">
<div id="content">

	<h3><a href="#section1">ACCI eXtreme Information System</a></h3>
	<div>
		<table class="centeredtable">
			<tr><td width="120px"></td><td width="300px"></td></tr>
			<tr><td>Dormitory Manager:</td><td><input type="text" class="longobject" name="manager" value="<?php echo $row->manager;?>"/></td></tr>
			<tr><td>Position:</td><td><input type="text" class="longobject" name="position" value="<?php echo $row->position;?>"/></td></tr>
		</table>
	</div>
	
	<h3><a href="#section2">Dormitory Details</a></h3>
	<div>
		<table class="centeredtable">
			<tr><td width="120px"></td><td width="300px"></td></tr>
			<tr><td>Dormitory For:</td><td><input type="text" class="longobject" name="dorm_for" value="<?php echo $row->dorm_for;?>"/></td></tr>
			<tr><td>Capacity:</td><td><input type="text" class="longobject" name="capacity" value="<?php echo $row->capacity;?>"/></td></tr>
			<tr><td>Location:</td><td><input type="text" class="longobject" name="location" value="<?php echo $row->location;?>"/></td></tr>
		</table>
	</div>
	
	<h3><a href="#section3">Other Details</a></h3>
	<div>
		<table class="centeredtable">
			<tr><td width="120px"></td><td width="300px"></td></tr>
			<tr><td class="centeredtext" colspan="2">Noted By</td></tr>
			<tr><td>Name:</td><td><input type="text" class="longobject" name="name1" value="<?php echo $row->name1;?>"/></td></tr>
			<tr><td>Position:</td><td><input type="text" class="longobject" name="position1" value="<?php echo $row->position1;?>"/></td></tr>
			<tr><td>Name:</td><td><input type="text" class="longobject" name="name2" value="<?php echo $row->name2;?>"/></td></tr>
			<tr><td>Position:</td><td><input type="text" class="longobject" name="position2" value="<?php echo $row->position2;?>"/></td></tr>
		</table>
	</div>
	
</div><!-- End content -->
<br/>
	<input type="submit" value="Save Changes" class="shortobject" onClick="document.pressed=this.value"/>
	<input type="submit" value="Back to Main" class="shortobject" onClick="document.pressed=this.value"/>
</form>
